package com.zhangtai.modules.entity.security;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

		import java.math.BigDecimal;
	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-19 17:10:00
 */
@Data
@TableName("tb_security_record")
public class SecurityRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 记录ID
		 */
			@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			@ApiModelProperty("员工Id")
			private Long recordId;
			/**
		 * 员工ID
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;

	/**
	 * 缴纳单位全称
	 */
	private String unitName;
	/**
	 * 公司
	 */
	private String orgName;
	/**
	 * 社保缴纳地
	 */
	private String cityName;
			/**
		 * 养老保险个人缴纳
		 */
			private BigDecimal endowmentInsurancePerson;
			/**
		 * 养老保险公司缴纳
		 */
			private BigDecimal endowmentInsuranceOrg;
			/**
		 * 养老保险个人缴纳比例
		 */
			private BigDecimal endowmentInsurancePersonRate;
			/**
		 * 养老保险公司缴纳比例
		 */
			private BigDecimal endowmentInsuranceOrgRate;
			/**
		 * 失业保险个人缴纳
		 */
			private BigDecimal unemploymentInsurancePerson;
			/**
		 * 失业保险公司缴纳
		 */
			private BigDecimal unemploymentInsuranceOrg;
			/**
		 * 失业保险个人缴纳比例
		 */
			private BigDecimal unemploymentInsurancePersonRate;
			/**
		 * 失业保险公司缴纳比例
		 */
			private BigDecimal unemploymentInsuranceOrgRate;
			/**
		 * 医疗保险个人缴纳
		 */
			private BigDecimal medicalInsurancePerson;
			/**
		 * 医疗保险个人缴纳比例
		 */
			private BigDecimal medicalInsurancePersonRate;
			/**
		 * 医疗保险公司缴纳
		 */
			private BigDecimal medicalInsuranceOrg;
			/**
		 * 医疗保险公司缴纳比例
		 */
			private BigDecimal medicalInsuranceOrgRate;
			/**
		 * 工伤保险个人缴纳
		 */
			private BigDecimal injuryInsurancePerson;
			/**
		 * 工伤保险公司缴纳
		 */
			private BigDecimal injuryInsuranceOrg;
			/**
		 * 工伤保险个人缴纳比例
		 */
			private BigDecimal injuryInsurancePersonRate;
			/**
		 * 工伤保险公司缴纳比例
		 */
			private BigDecimal injuryInsuranceOrgRate;
//			/**
//		 * 公积金个人缴纳
//		 */
//			private BigDecimal reservedFundsPerson;
//			/**
//		 * 公积金公司缴纳
//		 */
//			private BigDecimal reservedFundsOrg;
//			/**
//		 * 公积金个人缴纳比例
//		 */
//			private BigDecimal reservedFundsPersonRate;
//			/**
//		 * 公积金公司缴纳比例
//		 */
//			private BigDecimal reservedFundsOrgRate;

			private BigDecimal largerMedicalPerson;

	private BigDecimal largerMedicalPersonRate;

	private BigDecimal largerMedicalOrg;

	private BigDecimal largerMedicalOrgRate;
			/**
		 * 
		 */
			private Date createTime;

	/**
	 * 汇缴状态：0未处理 1汇缴中
	 */
	private Integer isCheck;
			/**
		 * 状态  0：未确认 1：已确认
		 */
			private Integer isConfirm;
			/**
		 * 记录类型  0：增员  1：减员 2：正常
		 */
			private Integer type;
			/**
		 * 
		 */
			private Integer isDelete;
			/**
		 * 缴纳月份
		 */
			private Date operateTime;
			/**
		 * 操作人工号
		 */
			private String operateCode;
			/**
		 * 操作人姓名
		 */
			private String operateName;
//			/**
//		 *
//		 */
//			@JsonDeserialize(using = LongJsonDeserializer.class)
//			@JsonSerialize(using = LongJsonSerializer.class)
//			private Long orgId;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long unitId;
			private BigDecimal personCostTotal;

			private BigDecimal orgCostTotal;

			private BigDecimal salaryCost;

	private BigDecimal maternityInsurancePerson;

	private BigDecimal maternityInsurancePersonRate;

	private BigDecimal maternityInsuranceOrg;

	private BigDecimal maternityInsuranceOrgRate;

	private BigDecimal disabledEmploymentPerson;

	private BigDecimal disabledEmploymentPersonRate;

	private BigDecimal disabledEmploymentOrg;

	private BigDecimal disabledEmploymentOrgRate;

	private BigDecimal endowmentInsuranceBase;

	private BigDecimal unemploymentInsuranceBase;

	private BigDecimal medicalInsuranceBase;

	private BigDecimal injuryInsuranceBase;

	private BigDecimal largerMedicalBase;

	private BigDecimal maternityInsuranceBase;

	private BigDecimal disabledEmploymentBase;

	private Date confirmTime;

	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long securityId;

	
}
